<template>
  <div>
    <h1>推送消息</h1>
    <div class="Bottom15px">
      <el-input type="textarea" :rows="2" class="textarea1" v-model="textarea">
      </el-input>
    </div>
    <div>
      <el-radio v-model="radio" @click="dianji" label="1">{{ text }}</el-radio>
      <el-radio v-model="radio" label="2">管理员</el-radio>
    </div>
    <el-button type="primary" class="chaXun">发送</el-button>
  </div>





</template>

<script>
export default {
  data() {
    return {
      radio: '',
      text: '普通用户',
      textarea: ''
    }
  },
  methods: {
    dianji(text) {
      console.log('文本', text)
    }
  }
}

</script>


<style lang="scss" scoped>

.Bottom15px {
  margin: 15px 0px 15px 0;
}

.textarea1 {
  width: 260px;
}

.el-textarea__inner {
  height: 150px;
}
</style>